package com.gyc.simple.dataservices.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ActuatorHealth {

    @GetMapping("/actuator/health")
    public String health() {
        return "SUCCESS";
    }


    @GetMapping("/sayHello")
    public String sayHello(String name){
        return "hello," + name;
    }
}
